<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>待办事项列表</title>
  <link rel="stylesheet" href="./style.css">
</head>
<body>
  <div id="root">
    <!-- 标题 -->
    <todo-header></todo-header>
    <!-- 输入 -->
    <todo-input @add="handleAddTodoItem"></todo-input>
    <!-- 列表 -->
    <todo-list :list="todos"></todo-list>
    <!-- 尾部 -->
    <todo-footer></todo-footer>
  </div>

  <script type="module" src="./main.js"></script>
  
</body>
</html>